package lab02.test26;

import java.util.Scanner;

/**
 * Created by ASUS on 2017/11/13.
 */
public class ExceptionTest {
    public static void main(String[] args) {
       int num1;
       int num2;
       int num3;
        Scanner scanner=new Scanner(System.in);
        num1=scanner.nextInt();
        Scanner scanner1=new Scanner(System.in);
        num2=scanner.nextInt();
       try{
           num3=num1/num2;
           System.out.println(num3);
       }catch (Exception e){
           System.out.println("输入的第二个数字的值为0！！！！");
       }finally {
           System.out.println("加油！！");
       }

    }
}
